using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("FriendListBaseFriendFrame")]
	public class FriendListBaseFriendFrame : MonoBehaviour
	{
		public static Color TEXT_COLOR_NORMAL => MonoClass.smethod_6<Color>(TritonHs.MainAssemblyPath, "", "FriendListBaseFriendFrame", "TEXT_COLOR_NORMAL");

		public static Color TEXT_COLOR_AWAY => MonoClass.smethod_6<Color>(TritonHs.MainAssemblyPath, "", "FriendListBaseFriendFrame", "TEXT_COLOR_AWAY");

		public static Color TEXT_COLOR_BUSY => MonoClass.smethod_6<Color>(TritonHs.MainAssemblyPath, "", "FriendListBaseFriendFrame", "TEXT_COLOR_BUSY");

		public static Color TEXT_COLOR_OFFLINE => MonoClass.smethod_6<Color>(TritonHs.MainAssemblyPath, "", "FriendListBaseFriendFrame", "TEXT_COLOR_OFFLINE");

		public PlayerIcon m_PlayerIcon => method_3<PlayerIcon>("m_PlayerIcon");

		public UberText m_PlayerNameText => method_3<UberText>("m_PlayerNameText");

		public UberText m_StatusText => method_3<UberText>("m_StatusText");

		public FriendListFrameBasePrefabs m_Prefabs => method_3<FriendListFrameBasePrefabs>("m_Prefabs");

		public FriendListChatIcon m_ChatIcon => method_3<FriendListChatIcon>("m_ChatIcon");

		public TournamentMedal m_rankMedalPrefab => method_3<TournamentMedal>("m_rankMedalPrefab");

		public Spawner m_rankMedalSpawner => method_3<Spawner>("m_rankMedalSpawner");

		public TournamentMedal m_rankMedal => method_3<TournamentMedal>("m_rankMedal");

		public BnetPlayer m_player => method_3<BnetPlayer>("m_player");

		public MedalInfoTranslator m_medal => method_3<MedalInfoTranslator>("m_medal");

		public FriendListBaseFriendFrame(IntPtr address, string className)
			: base(address, className)
		{
		}

		public FriendListBaseFriendFrame(IntPtr address)
			: this(address, "FriendListBaseFriendFrame")
		{
		}

		public void Awake()
		{
			method_8("Awake");
		}

		public void OnDestroy()
		{
			method_8("OnDestroy");
		}

		public BnetPlayer GetFriend()
		{
			return method_14<BnetPlayer>("GetFriend", Array.Empty<object>());
		}

		public bool SetFriend(BnetPlayer player)
		{
			return method_11<bool>("SetFriend", new object[1] { player });
		}

		public void UpdateFriend()
		{
			method_8("UpdateFriend");
		}

		public void RankMedalOver(UIEvent e)
		{
			method_8("RankMedalOver", e);
		}

		public void OnPlayersChanged(BnetPlayerChangelist changelist, object userData)
		{
			method_8("OnPlayersChanged", changelist, userData);
		}

		public void OnPlayerChatInfoChanged(PlayerChatInfo chatInfo, object userData)
		{
			method_8("OnPlayerChatInfoChanged", chatInfo, userData);
		}

		public void UpdateOnlineStatus()
		{
			method_8("UpdateOnlineStatus");
		}

		public void UpdateOfflineStatus()
		{
			method_8("UpdateOfflineStatus");
		}
	}
}
